﻿using Furion.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.Application
{
   public  class UserProfile
    {
        public long Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码（采用 MD5 加密）
        /// </summary>
        public string UserPass { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 头像（OSS地址）
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        public string Remark { get; set; }

        public int OrgId { get; set; }



        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 行业类别
        /// </summary>
        public string Industry { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }


        /// <summary>
        /// 职务
        /// </summary>
        public string Post { get; set; }


        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile { get; set; }



        /// <summary>
        /// 最近登录时间
        /// </summary>
        public DateTime? LoginTime { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; }

        public bool IsDeleted { get; set; }

        public long CreatorId { get; set; }


        public DateTime CreatedTime { get; set; }
        public DateTime UpdatedTime { get; set; }


        /// <summary>
        /// 移动端登录
        /// </summary>
        public bool IsMobile { get; set; }

        /// <summary>
        /// PC端登录
        /// </summary>
        public bool IsPC { get; set; }


        public ICollection<RoleOutput> Roles { get; set; }
    }
}
